package com.holyant.goods.dto;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.domain.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 商品实时价格dto
 * 
 * @author fkmalls
 * @date 2021-08-25
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("商品采购价格")
public class GdsSkuPurchasePriceSaveDto extends BaseDto {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "enterpriseId")
    private Long enterpriseId;

    @Excel(name = "供应商名称")
    @ApiModelProperty(value = "enterpriseName")
    private String enterpriseName;

    @NotEmpty(message = "明细不能为空")
    @ApiModelProperty(value = "itemDtoList")
    private List<GdsSkuPurchasePriceDto> itemDtoList;

}
